package com.itheima.goods.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;


/**
 * @author wang
 * @description
 * @date 2021/7/31 15:47
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Accessors(chain = true)
@TableName("tb_order")
public class Order {
    @TableId(type = IdType.ASSIGN_ID)
    private Long orderId;
    private Double payment;
    private String paymentType;
    private String status;
    private Date createTime;
    private Date updateTime;
    private Date paymentTime;
    private String userId;
    private String receiverAreaName;
    private String receiverMobile;
    private String receiver;
    private Integer goodId;
    private String picPath;
}
